package com.ruoyi.quartz.task;

import com.ruoyi.business.service.ITAccountInfoService;
import com.ruoyi.business.service.ITOrderQrcodeInfoService;
import com.ruoyi.business.service.ITRecipientInfoService;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component("recipientInfoTask")

public class RecipientInfoTask {
    @Resource
    private ITRecipientInfoService userRecipientService;

    @Resource
    private ITAccountInfoService itAccountInfoService;

    @Resource
    private ITOrderQrcodeInfoService itOrderQrcodeInfoService;


    public void resetrecipientInfo()
    {
        userRecipientService.resetTRecipientInfo();
        itAccountInfoService.resetTAccountInfo();
        itOrderQrcodeInfoService.deleteAllTOrderQrcodeInfo();
    }

}
